package mylab.starters.generator.table.service;


import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import mylab.starters.generator.table.StarupMode;

import java.util.List;

/**
 * @author sunchenbin
 * @version 2016年6月23日 下午6:07:21
 */
@InterceptorIgnore(blockAttack = "true", tenantLine = "true", illegalSql = "true", dynamicTableName = "true")
public interface SysMysqlCreateTableManager {

    boolean existTable(String tableName);

    void createMysqlTable(StarupMode starupMode, String scanPack);

    void createMysqlTable(StarupMode starupMode, Class<?> entityClass, String tableName);

    List<Object> getAllFields(Class<?> clas);

}